package com.sinosoft.common.util;

import java.util.HashMap;
import java.util.Map;
/**
 * ContentType映射关系
 * @author unhappydepig
 *
 */
public class ContentType {
	public static Map<String,String> typeMap = new HashMap<String,String>();
	static{
		typeMap.put("*","application/octet-stream");
		typeMap.put("acp","audio/x-mei-aac");
		typeMap.put("aif","audio/aiff");
		typeMap.put("aiff","audio/aiff");
		typeMap.put("asa","text/asa");
		typeMap.put("asp","text/asp");
		typeMap.put("au","audio/basic");
		typeMap.put("awf","application/vnd.adobe.workflow");
		typeMap.put("bmp","application/x-bmp");
		typeMap.put("c4t","application/x-c4t");
		typeMap.put("cal","application/x-cals");
		typeMap.put("cdf","application/x-netcdf");
		typeMap.put("cel","application/x-cel");
		typeMap.put("cg4","application/x-g4");
		typeMap.put("cit","application/x-cit");
		typeMap.put("cml","text/xml");
		typeMap.put("cmx","application/x-cmx");
		typeMap.put("crl","application/pkix-crl");
		typeMap.put("csi","application/x-csi");
		typeMap.put("cut","application/x-cut");
		typeMap.put("dbm","application/x-dbm");
		typeMap.put("dcd","text/xml");
		typeMap.put("der","application/x-x509-ca-cert");
		typeMap.put("dib","application/x-dib");
		typeMap.put("doc","application/msword");
		typeMap.put("drw","application/x-drw");
		typeMap.put("dwf","Model/vnd.dwf");
		typeMap.put("dwg","application/x-dwg");
		typeMap.put("dxf","application/x-dxf");
		typeMap.put("emf","application/x-emf");
		typeMap.put("ent","text/xml");
		typeMap.put("eps","application/x-ps");
		typeMap.put("etd","application/x-ebx");
		typeMap.put("fax","image/fax");
		typeMap.put("fif","application/fractals");
		typeMap.put("frm","application/x-frm");
		typeMap.put("gbr","application/x-gbr");
		typeMap.put("gif","image/gif");
		typeMap.put("gp4","application/x-gp4");
		typeMap.put("hmr","application/x-hmr");
		typeMap.put("hpl","application/x-hpl");
		typeMap.put("hrf","application/x-hrf");
		typeMap.put("htc","text/x-component");
		typeMap.put("html","text/html");
		typeMap.put("htx","text/html");
		typeMap.put("ico","image/x-icon");
		typeMap.put("iff","application/x-iff");
		typeMap.put("igs","application/x-igs");
		typeMap.put("img","application/x-img");
		typeMap.put("isp","application/x-internet-signup");
		typeMap.put("java","java/*");
		typeMap.put("jpe","image/jpeg");
		typeMap.put("jpeg","image/jpeg");
		typeMap.put("jpg","application/x-jpg");
		typeMap.put("jsp","text/html");
		typeMap.put("lar","application/x-laplayer-reg");
		typeMap.put("lavs","audio/x-liquid-secure");
		typeMap.put("lmsff","audio/x-la-lms");
		typeMap.put("ltr","application/x-ltr");
		typeMap.put("m2v","video/x-mpeg");
		typeMap.put("m4e","video/mpeg4");
		typeMap.put("man","application/x-troff-man");
		typeMap.put("mdb","application/msaccess");
		typeMap.put("mfp","application/x-shockwave-flash");
		typeMap.put("mhtml","message/rfc822");
		typeMap.put("mid","audio/mid");
		typeMap.put("mil","application/x-mil");
		typeMap.put("mnd","audio/x-musicnet-download");
		typeMap.put("mocha","application/x-javascript");
		typeMap.put("mp1","audio/mp1");
		typeMap.put("mp2v","video/mpeg");
		typeMap.put("mp4","video/mpeg4");
		typeMap.put("mpd","application/vnd.ms-project");
		typeMap.put("mpeg","video/mpg");
		typeMap.put("mpga","audio/rn-mpeg");
		typeMap.put("mps","video/x-mpeg");
		typeMap.put("mpv","video/mpg");
		typeMap.put("mpw","application/vnd.ms-project");
		typeMap.put("mtx","text/xml");
		typeMap.put("net","image/pnetvue");
		typeMap.put("nws","message/rfc822");
		typeMap.put("out","application/x-out");
		typeMap.put("p12","application/x-pkcs12");
		typeMap.put("p7c","application/pkcs7-mime");
		typeMap.put("p7r","application/x-pkcs7-certreqresp");
		typeMap.put("pc5","application/x-pc5");
		typeMap.put("pcl","application/x-pcl");
		typeMap.put("pdf","application/pdf");
		typeMap.put("pdx","application/vnd.adobe.pdx");
		typeMap.put("pgl","application/x-pgl");
		typeMap.put("pko","application/vnd.ms-pki.pko");
		typeMap.put("plg","text/html");
		typeMap.put("plt","application/x-plt");
		typeMap.put("png","application/x-png");
		typeMap.put("ppa","application/vnd.ms-powerpoint");
		typeMap.put("pps","application/vnd.ms-powerpoint");
		typeMap.put("ppt","application/x-ppt");
		typeMap.put("prf","application/pics-rules");
		typeMap.put("prt","application/x-prt");
		typeMap.put("ps","application/postscript");
		typeMap.put("pwz","application/vnd.ms-powerpoint");
		typeMap.put("ra","audio/vnd.rn-realaudio");
		typeMap.put("ras","application/x-ras");
		typeMap.put("rdf","text/xml");
		typeMap.put("red","application/x-red");
		typeMap.put("rjs","application/vnd.rn-realsystem-rjs");
		typeMap.put("rlc","application/x-rlc");
		typeMap.put("rm","application/vnd.rn-realmedia");
		typeMap.put("rmi","audio/mid");
		typeMap.put("rmm","audio/x-pn-realaudio");
		typeMap.put("rms","application/vnd.rn-realmedia-secure");
		typeMap.put("rmx","application/vnd.rn-realsystem-rmx");
		typeMap.put("rp","image/vnd.rn-realpix");
		typeMap.put("rsml","application/vnd.rn-rsml");
		typeMap.put("rtf","application/msword");
		typeMap.put("rv","video/vnd.rn-realvideo");
		typeMap.put("sat","application/x-sat");
		typeMap.put("sdw","application/x-sdw");
		typeMap.put("slb","application/x-slb");
		typeMap.put("slk","drawing/x-slk");
		typeMap.put("smil","application/smil");
		typeMap.put("snd","audio/basic");
		typeMap.put("sor","text/plain");
		typeMap.put("spl","application/futuresplash");
		typeMap.put("ssm","application/streamingmedia");
		typeMap.put("stl","application/vnd.ms-pki.stl");
		typeMap.put("sty","application/x-sty");
		typeMap.put("swf","application/x-shockwave-flash");
		typeMap.put("tg4","application/x-tg4");
		typeMap.put("tif","image/tiff");
		typeMap.put("tiff","image/tiff");
		typeMap.put("top","drawing/x-top");
		typeMap.put("tsd","text/xml");
		typeMap.put("uin","application/x-icq");
		typeMap.put("vcf","text/x-vcard");
		typeMap.put("vdx","application/vnd.visio");
		typeMap.put("vpg","application/x-vpeg005");
		typeMap.put("vsd","application/x-vsd");
		typeMap.put("vst","application/vnd.visio");
		typeMap.put("vsw","application/vnd.visio");
		typeMap.put("vtx","application/vnd.visio");
		typeMap.put("wav","audio/wav");
		typeMap.put("wb1","application/x-wb1");
		typeMap.put("wb3","application/x-wb3");
		typeMap.put("wiz","application/msword");
		typeMap.put("wk4","application/x-wk4");
		typeMap.put("wks","application/x-wks");
		typeMap.put("wma","audio/x-ms-wma");
		typeMap.put("wmf","application/x-wmf");
		typeMap.put("wmv","video/x-ms-wmv");
		typeMap.put("wmz","application/x-ms-wmz");
		typeMap.put("wpd","application/x-wpd");
		typeMap.put("wpl","application/vnd.ms-wpl");
		typeMap.put("wr1","application/x-wr1");
		typeMap.put("wrk","application/x-wrk");
		typeMap.put("ws2","application/x-ws");
		typeMap.put("wsdl","text/xml");
		typeMap.put("xdp","application/vnd.adobe.xdp");
		typeMap.put("xfd","application/vnd.adobe.xfd");
		typeMap.put("xhtml","text/html");
		typeMap.put("xls","application/x-xls");
		typeMap.put("xml","text/xml");
		typeMap.put("xq","text/xml");
		typeMap.put("xquery","text/xml");
		typeMap.put("xsl","text/xml");
		typeMap.put("xwd","application/x-xwd");
		typeMap.put("sis","application/vnd.symbian.install");
		typeMap.put("x_t","application/x-x_t");
		typeMap.put("apk","application/vnd.android.package-archive");
		typeMap.put("tif","image/tiff");
		typeMap.put("ai","application/postscript");
		typeMap.put("aifc","audio/aiff");
		typeMap.put("anv","application/x-anv");
		typeMap.put("asf","video/x-ms-asf");
		typeMap.put("asx","video/x-ms-asf");
		typeMap.put("avi","video/avi");
		typeMap.put("biz","text/xml");
		typeMap.put("bot","application/x-bot");
		typeMap.put("c90","application/x-c90");
		typeMap.put("cat","application/vnd.ms-pki.seccat");
		typeMap.put("cdr","application/x-cdr");
		typeMap.put("cer","application/x-x509-ca-cert");
		typeMap.put("cgm","application/x-cgm");
		typeMap.put("class","java/*");
		typeMap.put("cmp","application/x-cmp");
		typeMap.put("cot","application/x-cot");
		typeMap.put("crt","application/x-x509-ca-cert");
		typeMap.put("css","text/css");
		typeMap.put("dbf","application/x-dbf");
		typeMap.put("dbx","application/x-dbx");
		typeMap.put("dcx","application/x-dcx");
		typeMap.put("dgn","application/x-dgn");
		typeMap.put("dll","application/x-msdownload");
		typeMap.put("dot","application/msword");
		typeMap.put("dtd","text/xml");
		typeMap.put("dwf","application/x-dwf");
		typeMap.put("dxb","application/x-dxb");
		typeMap.put("edn","application/vnd.adobe.edn");
		typeMap.put("eml","message/rfc822");
		typeMap.put("epi","application/x-epi");
		typeMap.put("eps","application/postscript");
		typeMap.put("exe","application/x-msdownload");
		typeMap.put("fdf","application/vnd.fdf");
		typeMap.put("fo","text/xml");
		typeMap.put("g4","application/x-g4");
		typeMap.put("gl2","application/x-gl2");
		typeMap.put("hgl","application/x-hgl");
		typeMap.put("hpg","application/x-hpgl");
		typeMap.put("hqx","application/mac-binhex40");
		typeMap.put("hta","application/hta");
		typeMap.put("htm","text/html");
		typeMap.put("htt","text/webviewhtml");
		typeMap.put("icb","application/x-icb");
		typeMap.put("ico","application/x-ico");
		typeMap.put("ig4","application/x-g4");
		typeMap.put("iii","application/x-iphone");
		typeMap.put("ins","application/x-internet-signup");
		typeMap.put("IVF","video/x-ivf");
		typeMap.put("jfif","image/jpeg");
		typeMap.put("jpe","application/x-jpe");
		typeMap.put("jpg","image/jpeg");
		typeMap.put("js","application/x-javascript");
		typeMap.put("la1","audio/x-liquid-file");
		typeMap.put("latex","application/x-latex");
		typeMap.put("lbm","application/x-lbm");
		typeMap.put("ls","application/x-javascript");
		typeMap.put("m1v","video/x-mpeg");
		typeMap.put("m3u","audio/mpegurl");
		typeMap.put("mac","application/x-mac");
		typeMap.put("math","text/xml");
		typeMap.put("mdb","application/x-mdb");
		typeMap.put("mht","message/rfc822");
		typeMap.put("mi","application/x-mi");
		typeMap.put("midi","audio/mid");
		typeMap.put("mml","text/xml");
		typeMap.put("mns","audio/x-musicnet-stream");
		typeMap.put("movie","video/x-sgi-movie");
		typeMap.put("mp2","audio/mp2");
		typeMap.put("mp3","audio/mp3");
		typeMap.put("mpa","video/x-mpg");
		typeMap.put("mpe","video/x-mpeg");
		typeMap.put("mpg","video/mpg");
		typeMap.put("mpp","application/vnd.ms-project");
		typeMap.put("mpt","application/vnd.ms-project");
		typeMap.put("mpv2","video/mpeg");
		typeMap.put("mpx","application/vnd.ms-project");
		typeMap.put("mxp","application/x-mmxp");
		typeMap.put("nrf","application/x-nrf");
		typeMap.put("odc","text/x-ms-odc");
		typeMap.put("p10","application/pkcs10");
		typeMap.put("p7b","application/x-pkcs7-certificates");
		typeMap.put("p7m","application/pkcs7-mime");
		typeMap.put("p7s","application/pkcs7-signature");
		typeMap.put("pci","application/x-pci");
		typeMap.put("pcx","application/x-pcx");
		typeMap.put("pdf","application/pdf");
		typeMap.put("pfx","application/x-pkcs12");
		typeMap.put("pic","application/x-pic");
		typeMap.put("pl","application/x-perl");
		typeMap.put("pls","audio/scpls");
		typeMap.put("png","image/png");
		typeMap.put("pot","application/vnd.ms-powerpoint");
		typeMap.put("ppm","application/x-ppm");
		typeMap.put("ppt","application/vnd.ms-powerpoint");
		typeMap.put("pr","application/x-pr");
		typeMap.put("prn","application/x-prn");
		typeMap.put("ps","application/x-ps");
		typeMap.put("ptn","application/x-ptn");
		typeMap.put("r3t","text/vnd.rn-realtext3d");
		typeMap.put("ram","audio/x-pn-realaudio");
		typeMap.put("rat","application/rat-file");
		typeMap.put("rec","application/vnd.rn-recording");
		typeMap.put("rgb","application/x-rgb");
		typeMap.put("rjt","application/vnd.rn-realsystem-rjt");
		typeMap.put("rle","application/x-rle");
		typeMap.put("rmf","application/vnd.adobe.rmf");
		typeMap.put("rmj","application/vnd.rn-realsystem-rmj");
		typeMap.put("rmp","application/vnd.rn-rn_music_package");
		typeMap.put("rmvb","application/vnd.rn-realmedia-vbr");
		typeMap.put("rnx","application/vnd.rn-realplayer");
		typeMap.put("rpm","audio/x-pn-realaudio-plugin");
		typeMap.put("rt","text/vnd.rn-realtext");
		typeMap.put("rtf","application/x-rtf");
		typeMap.put("sam","application/x-sam");
		typeMap.put("sdp","application/sdp");
		typeMap.put("sit","application/x-stuffit");
		typeMap.put("sld","application/x-sld");
		typeMap.put("smi","application/smil");
		typeMap.put("smk","application/x-smk");
		typeMap.put("sol","text/plain");
		typeMap.put("spc","application/x-pkcs7-certificates");
		typeMap.put("spp","text/xml");
		typeMap.put("sst","application/vnd.ms-pki.certstore");
		typeMap.put("stm","text/html");
		typeMap.put("svg","text/xml");
		typeMap.put("tdf","application/x-tdf");
		typeMap.put("tga","application/x-tga");
		typeMap.put("tif","application/x-tif");
		typeMap.put("tld","text/xml");
		typeMap.put("torrent","application/x-bittorrent");
		typeMap.put("txt","text/plain");
		typeMap.put("uls","text/iuls");
		typeMap.put("vda","application/x-vda");
		typeMap.put("vml","text/xml");
		typeMap.put("vsd","application/vnd.visio");
		typeMap.put("vss","application/vnd.visio");
		typeMap.put("vst","application/x-vst");
		typeMap.put("vsx","application/vnd.visio");
		typeMap.put("vxml","text/xml");
		typeMap.put("wax","audio/x-ms-wax");
		typeMap.put("wb2","application/x-wb2");
		typeMap.put("wbmp","image/vnd.wap.wbmp");
		typeMap.put("wk3","application/x-wk3");
		typeMap.put("wkq","application/x-wkq");
		typeMap.put("wm","video/x-ms-wm");
		typeMap.put("wmd","application/x-ms-wmd");
		typeMap.put("wml","text/vnd.wap.wml");
		typeMap.put("wmx","video/x-ms-wmx");
		typeMap.put("wp6","application/x-wp6");
		typeMap.put("wpg","application/x-wpg");
		typeMap.put("wq1","application/x-wq1");
		typeMap.put("wri","application/x-wri");
		typeMap.put("ws","application/x-ws");
		typeMap.put("wsc","text/scriptlet");
		typeMap.put("wvx","video/x-ms-wvx");
		typeMap.put("xdr","text/xml");
		typeMap.put("xfdf","application/vnd.adobe.xfdf");
		typeMap.put("xls","application/vnd.ms-excel");
		typeMap.put("xlw","application/x-xlw");
		typeMap.put("xpl","audio/scpls");
		typeMap.put("xql","text/xml");
		typeMap.put("xsd","text/xml");
		typeMap.put("xslt","text/xml");
		typeMap.put("x_b","application/x-x_b");
		typeMap.put("sisx","application/vnd.symbian.install");
		typeMap.put("ipa","application/vnd.iphone");
		typeMap.put("xap","application/x-silverlight-app");
	}
}
